local str = 'hello-1'

function f ()
	print(2, str)
	local str = 'hello-2'
	print(3, str)
	do
		print(4, str)
		local str = 'hello-3'
		print(5, str)
	end
	print(6, str)
end

print(1, str)
f()
print(7, str)
